import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
/* 导入store */
import store from './store'
import { Provider } from 'react-redux'

/* 导入ant design 全局配置，配置中文 */
import { ConfigProvider } from 'antd'
import zhCN from 'antd/es/locale/zh_CN'

/* 导入ant design的样式 */
import 'antd/dist/antd.css'

ReactDOM.createRoot(document.getElementById('root')).render(
  <ConfigProvider locale={zhCN}>
    <Provider store={store}>
      <App />
    </Provider>
  </ConfigProvider>
)
